<extend name="layout/edit" />

<block name="HEADER">
	<style type="text/css">
		.fileUpload-setDefault,.fileUpload-enlarge1{
			display: none;
		}
		.xw-form-formType-div{
			padding: 0 !important;
		}
	</style>
</block>

<block name="CONTENT">
    <control:form id="privacyForm"/>
</block>

<block name="FOOTER">
   <script type="text/javascript">
   	if( $.getRequest("mode") != 2 && $.getRequest("_index") != 1){
   		$.setRequest({mode:2,oid:'registration_page_privacy_explain'});
   	}
   	
    var  page=(function(ns){
    	
		ns.init = function(){
			if( $.getRequest("mode") == 2  && !privacyForm.getValue('create_time')) {
				$.setRequest({mode:1,oid:'registration_page_privacy_explain','_index':1});
			}
		}
		
        //保存
        ns.save=function(){
        	privacyForm.save(1);
        }
        
        return ns;
    }({}));
    
    $(function(){ page.init(); });
   </script>
</block>



